package com.my.security.service;

import com.my.security.model.Role;

import java.util.List;

public interface RoleService {
    /**
     * 获取用户的角色
     * @param username
     * @return
     */
    List<Role> getUserRole(String username);
}
